﻿<%@ Page Title="" Language="VB" MasterPageFile="~/Devida/Siste.master" AutoEventWireup="false" CodeFile="DigitaCodigo.aspx.vb" Inherits="Devida_DigitaCodigo" Theme="Yahoo-Ocean" %>
<%@ Register src="ucAlerta.ascx" TagName="Alerta" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<base target="_self" />
<link href="../css/EstilosFrm.css" type="text/css" rel="stylesheet" /> 
   <link href="../css/i_consultas.css" type="text/css" rel="stylesheet" />
   <link href="../css/diseno.css" type="text/css" rel="Stylesheet" />
    <link href="../css/style2.css" type="text/css" rel="stylesheet" />
    <link href="../css/StyleSheet.css" type="text/css" rel="stylesheet" />
    
    <script src="../js/jsForms/js_Consulta.js" type="text/javascript"></script>
    <script src="../js/js_windowpopup.js" type="text/javascript"></script>
    <script language="javascript" src="../Script/PrintScript.js" type="text/javascript"> </script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cph_name" Runat="Server">
<asp:Label id="titulocabecera" runat="server" font-names="arial" Font-Size="17px" ForeColor="white" font-bold="true" text="Editor de Códigos">
</asp:Label>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table cellpadding="0" cellspacing="0" width="900px" style="text-align:left">
            <tr><td>&nbsp;</td></tr>
            <tr>
                <td>
                <fieldset >
                    <table cellpadding="0" cellspacing="0" width="900px">
                        <tr>
                            <td style="width: 750px">
                                <asp:Label ID="Label1" runat="server" ForeColor="#006666" CssClass="Frm_Texto_cabecera"
                                    Text="Componente"></asp:Label>
                            </td>
                            <td>
                            </td>
                        </tr>
                        <tr>
                            <td>
                            <asp:GridView ID="gvComponente" Width="600px" runat="server" AutoGenerateColumns="false" CssClass="grid">
                            <Columns>
                            <asp:TemplateField>
                            <ItemStyle Width="42px" />
                            <HeaderTemplate>COD</HeaderTemplate>
                            <ItemTemplate>
                            <asp:TextBox ID="txtCodigo" runat="server" CssClass="frm_formato_caja" Width="40px" Text='<%# Eval("CODIGO") %>' ></asp:TextBox>
                            <asp:HiddenField ID="hfCodigo" runat="server" Value='<%# Eval("COMPONENTE") %>'/>
                            </ItemTemplate>
                            </asp:TemplateField>
                            <asp:BoundField DataField="DESCRIPCION" HeaderText="COMPONENTE" />
                            </Columns>
                            <AlternatingRowStyle BackColor="#CEDAF2" ForeColor="#003366" />
                            </asp:GridView>
                            </td>
                            <td align="right" valign="top">
                                <asp:ImageButton ID="btn_guardar" runat="server" ImageUrl="~/Imagenes/btnGuardar.png" Style="height: 23px" />
                            </td>
                        </tr>
                    </table>
                </fieldset>
                </td>
            </tr>
            <tr><td>&nbsp;</td></tr>
            <tr>
                <td>
                <fieldset >
                    <table cellpadding="0" cellspacing="0" width="900px">
                        <tr>
                            <td style="width: 750px">
                                <asp:Label ID="Label2" runat="server" ForeColor="#006666" CssClass="Frm_Texto_cabecera"
                                    Text="Metas Físicas"></asp:Label>
                            </td>
                            <td>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:GridView ID="gvFisico" Width="750px" runat="server" AutoGenerateColumns="false" CssClass="grid">
                                    <Columns>
                                    <asp:BoundField DataField="COD_COM" HeaderText="COD" />
                                    <asp:BoundField DataField="DESCRIPCION" HeaderText="COMPONENTE" />
                                    <asp:TemplateField>
                                    <ItemStyle Width="42px" />
                                    <HeaderTemplate>COD</HeaderTemplate>
                                    <ItemTemplate>
                                    <asp:TextBox ID="txtCodigo" runat="server" CssClass="frm_formato_caja" Width="40px" Text='<%# Eval("COD_FIS") %>' ></asp:TextBox>
                                    <asp:HiddenField ID="hfComponente" runat="server" Value='<%# Eval("COMPONENTE") %>'/>
                                    <asp:HiddenField ID="hfCodigo" runat="server" Value='<%# Eval("ID_POA_ACTIVIDAD_FISICA") %>'/>
                                    </ItemTemplate>
                                    </asp:TemplateField>                                    
                                    <asp:BoundField DataField="TAREA_ACTIVIDAD_DESCRIPCION" HeaderText="TAREA/ACTIVIDAD" />
                                    </Columns>
                                    <AlternatingRowStyle BackColor="#CEDAF2" ForeColor="#003366" />
                                </asp:GridView>
                            </td>
                            <td align="right" valign="top">
                                <asp:ImageButton ID="btnGuardarFisico" runat="server" ImageUrl="~/Imagenes/btnGuardar.png"
                                    Style="height: 23px" />
                            </td>
                        </tr>
                    </table>
                </fieldset>
                </td>
            </tr>
            <tr><td>&nbsp;</td></tr>
            <tr>
                <td>
                <fieldset>
                    <table cellpadding="0" cellspacing="0" width="900px">
                        <tr>
                            <td style="width: 750px">
                            </td>
                            <td align="right">
                                <asp:ImageButton ID="ibn_salir" runat="server" ImageUrl="~/Imagenes/btnSalir.png"
                                    ToolTip="Salir" />
                            </td>
                        </tr>
                    </table>
                </fieldset>
                </td>
            </tr>
        </table>
<uc1:Alerta id="alerta" runat="server"></uc1:Alerta>
</asp:Content>

